<?php
$lightbox_config_file = dirname(__FILE__)."/config";


if(file_exists($lightbox_config_file)) {
    $lightbox_config = unserialize(file_get_contents($lightbox_config_file));
}

if($lightbox_config['aob']) {
    $t = glob(dirname(__FILE__)."/js/*.js");
    foreach($t as $i) {
        $html_head_code[] = '<script type="text/javascript" src="'.__ADMIN_URL__.substr($i, strlen(__ADMIN_DIR__)).'"></script>';
    }

    $t = glob(dirname(__FILE__)."/css/*.css");
    foreach($t as $i) {
        $html_head_code_lib[] = '<link rel="stylesheet" type="text/css" href="'.__ADMIN_URL__.substr($i, strlen(__ADMIN_DIR__)).'"/>';
    }
}




?>